<template>
	<view>
		<web-view :src="fileurl"></web-view>	 
	</view>
</template>

<script>
	export default {
		data() {
			return {
				fileurl: '',	
			}
		},
		methods: {
			onLoad(params){	 
				let urlpath = params.url 
				this.fileurl ='../../../static/pdf.html?url='+urlpath
				// this.fileurl = '../../static/pdf.html?url='+urlpath
			},	
		}
	}
</script>

<style scoped>

</style>
